package com.stars.easyms.logger.config;

/**
 * <p>className: EasyMsLoggerProperties</p>
 * <p>description: EasyMs的Logger属性类</p>
 *
 * @author guoguifang
 * @date 2019-08-22 10:48
 * @since 1.3.0
 */
final class EasyMsLoggerProperties {

    static final String LOG_ASYN_ENABLED_CONFIG = "logging.asyn";

    static final String LOG_SIFT_ASYN_ENABLED_CONFIG = "logging.sift-asyn";

    volatile boolean logAsynEnabled;

    volatile boolean siftAsynEnabled;

    static EasyMsLoggerProperties getInstance() {
        return EasyMsLoggerPropertiesHolder.SINGLE_INSTANCE;
    }

    private static class EasyMsLoggerPropertiesHolder {

        private static final EasyMsLoggerProperties SINGLE_INSTANCE = new EasyMsLoggerProperties();

    }

    private EasyMsLoggerProperties() {
    }
}